postgresql: InstallDev pkg-config files for libpq
authorMichael Braun <[email protected]>
Wed, 22 Mar 2017 11:46:42 +0000 (12:46 +0100)
committerMichael Braun <[email protected]>
Tue, 1 Aug 2017 13:48:28 +0000 (15:48 +0200)
Signed-off-by: Michael Braun <[email protected]>
libs/postgresql/Makefile

index 05071468d243084ffd76ea9f055497330a134e6e..181b0a6000dcc43d2276b0bc384ac6599ed7787d 100644 (file)
@@ -222,6 +222,8 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/include/postgresql $(1)/usr/include/
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpq.{a,so*} $(1)/usr/lib/
+       $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libpq.pc $(1)/usr/lib/pkgconfig/
 endef
 
 $(eval $(call HostBuild))